Skip to content

crypto's raw ChaCha20 and Poly1305 (RFC 8439): gitlink, NIP-44 vectors, fixtures, guidelines - #69

Merged
pinhopro merged 14 commits into
mainfrom
crypto/primitives
Dec 5, 2026
Merged

pinhopro merged 14 commits into
mainfrom
crypto/primitives

Conversation

@pinhopro

@pinhopro pinhopro commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

The superproject's side of crypto's primitives change (webcpporg/crypto#30, merged 0467566): RFC 8439's raw ChaCha20 and Poly1305.

  • Gitlink of libs/crypto at that merge.
  • third_party: NIP-44 version 2's vectors (paulmillr/nip44 at 671a1f0) as /third_party//nip44, test data for crypto's ChaCha20; tools/test/third_party_test.py covers it; AGENTS.md and the 0.1.0 release notes name it.
  • tools: the crypto Jamfile fixtures chacha20_default and poly1305_default (the default backend links libsodium alone).
  • CODING-GUIDELINES.md: chapter 17's state (the primitives change; the formats change and hash's Base58Check, merged on 2026-12-02, no longer "built, not merged").

Every lane verified locally and green (table: proposals' crypto primitives reference/STATUS.md). No CI ran on this branch; the owner's one CI on main comes at the end.

🤖 Generated with Claude Code

R added 14 commits December 5, 2026 01:31
…as /third_party//nip44, test data for crypto's ChaCha20

paulmillr/nip44's nip44.vectors.json, whose SHA-256 NIP-44's text states
(269ed0f6...5040, checked), pinned shallow as third_party/libs/nip44:
/third_party//nip44 gives a test its directory by WEBCPP_TEST_NIP44, wasmtime
is given it on WASI, and a test runs again when the file changes. A build that
names it without the checkout stops with the command that checks it out. The
repository's JavaScript implementation, released into the public domain by the
Unlicense, holds the same bytes; the submodule redistributes nothing.

The pin and the refusal are tested in tools/test/third_party_test.py; the
guidelines' third-party table, AGENTS.md's lists and the release notes name it.
@pinhopro
pinhopro merged commit bd1a788 into main Dec 5, 2026
1 of 17 checks passed
@pinhopro
pinhopro deleted the crypto/primitives branch December 5, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant